<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<% 
    String context = request.getContextPath();
    request.setAttribute("context",context);
    System.out.println("##################33"+context);
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>JavaHi开发平台</title>
    <link href="${context}/static/jquery-easyui-1.3.2/themes/gray/easyui.css" rel="stylesheet" type="text/css" />
    <link href="${context}/static/jquery-easyui-1.3.2/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="${context}/static/jquery-easyui-1.3.2/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="${context}/static/jquery-easyui-1.3.2/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="${context}/static/jquery-easyui-1.3.2/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="${context}/static/scripts/json2.js" type="text/javascript"></script>
    <script src="${context}/static/scripts/common.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    	
    	function showPage(url) {
        	$("#frameMain").attr("src", url);
    	}
    </script>
</head>

<body class="easyui-layout" fit="true" style="overflow: hidden;" border="false">
    <div region="north" split="false" border="false" style="overflow: hidden; height: 30px;">
		 <table style="padding: 0xp; margin: 0px; border: 0px; width: 100%; height: 100%; border-collapse: collapse;">
		    <tr>
		        <td class="navi" style="height: 30px; font-size: 12px;">
		            <div id="Navigation" style="padding: 0px; width: 100%;"> 
                		<a href="#" id="A1" class="easyui-menubutton" menu="#mm1" iconcls="icon-edit">阅读</a> 		            
                		<a href="#" id="A2" class="easyui-menubutton" menu="#mm2" iconcls="icon-edit">代码生成</a> 		            
                		<a href="#" id="A2" class="easyui-menubutton" menu="#mm3" iconcls="icon-edit">项目管理</a> 		            
                		<a href="#" id="A2" class="easyui-menubutton" menu="#mm4" iconcls="icon-edit">开发工具</a> 		            
		            </div>
		        </td>
		    </tr>
		</table>   
    
    </div>
    <div region="south" split="false" style="height: 30px; background: #efefef; text-align: center;
        padding-top: 4px;" border="false">
    </div>
    <div region="center" border="true" style="background: #eee; overflow: hidden;">
        <iframe id="frameMain" name="frameMain" width="100%" height="100%" scrolling="yes" frameborder="0" style="border: 0px;" src="http://www.cnblogs.com/duankaige/archive/2013/06/05/3118877.html"></iframe>
    </div>
<div id="mm1" style="width: 100px;">
    <div onclick="showPage('${context}/wread/read.html')">web</div>
    <div onclick="showPage('${context}/jsp/view.html?p=reading_client/web/type_index')">分类浏览</div>
    <div onclick="showPage('${context}/wslist/list.html')">阅读首页</div>
    <div onclick="showPage('${context}/wslist/read.html')">抓取数据</div>
    <div onclick="showPage('${context}/jsp/view.html?p=reading_client/web/add_item')">添加</div>
</div> 
<div id="mm2" style="width: 100px;">
    <div onclick="showPage('${context}/jsp/view.html?p=generate_client/index')">导航</div>
</div>   
<div id="mm3" style="width: 100px;">
    <div onclick="showPage('${context}/jsp/view.html?p=project_client/index')">项目管理</div>
    <div onclick="showPage('${context}/jsp/view.html?p=project_client/addworkproject')">维护测试</div>
    <div onclick="showPage('${context}/static/uploadify/import.jsp')">文件上传</div>
    <div onclick="showPage('${context}/jsp/view.html?p=project_client/upload')">文件上传Uploadfy</div>
</div>  
<div id="mm4" style="width: 100px;">
    <div onclick="showPage('http://fanyi.youdao.com/')">有道翻译</div>  
    <div onclick="showPage('http://mvnrepository.com/artifact/commons-beanutils/commons-beanutils/1.6')">maven</div>  
    <div onclick="showPage('http://www.cnblogs.com/duankaige')">博客园</div>  
    <div onclick="showPage('http://blog.csdn.net/duankaige')">CSDN博客</div>  
    <div onclick="showPage('http://www.bejson.com/go.php?u=http://www.bejson.com/jsonviewernew/')">JSON格式化</div>  
    <div onclick="showPage('http://julying.com/jQuery-1.6-api/')">Jquery API</div>  
</body>
</html>
